//
//  SkuModel.h
//  sensen_ios
//
//  Created by pro on 16/3/9.
//  Copyright © 2016年 pro. All rights reserved.
//

#import "ByNetBaseModel.h"

/*
 商品拥有的可选择的规格，用于购买
 */
@interface SkuModel : ByNetBaseModel

// 共有的
@property (nonatomic, copy) NSString *sku_pkid;         // 数据id（在添加购物车中要用）
@property (nonatomic, copy) NSString *ori_price;        // 原价（元）
@property (nonatomic, copy) NSString *price;            // 现价（元）
@property (nonatomic, copy) NSString *quantity;         // 库存
@property (nonatomic, copy) NSString *product_code;     // 商品码
@property (nonatomic, copy) NSString *icon_url;         // 规格图标

// 多规格的属性
@property (nonatomic, copy) NSString *sku_id;           // 规格id
@property (nonatomic, copy) NSString *sku_desc;         // 规格描述

/*统一规格
 skulist = {
    id = 474; 用于购物车添加
    "ori_price" = "2.0";
    price = "1.0";
    "product_id" = 100;
    product_code = "";
    quantity = 10;
 }
 */

/*多规格
 skuList = (
 {
    id = 286; 
    "ori_price" = "25.0";
    price = "9.9";
    "product_id" = 88;
    quantity = 500;
    createtime = 1457398922; 没用
    "icon_url" = "";
    "product_code" = "";
    "sku_desc" = "\U989c\U8272:\U968f\U673a;\U5c3a\U5bf8:S-\U5c0f\U578b;";
    "sku_id" = "46:128;47:129;";
 }
 */

@end
